package cn.lbd.city.service.impl;


import cn.lbd.city.dao.ChartDao;
import cn.lbd.city.entity.CityInfo;
import cn.lbd.city.service.ChartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChartServiceImpl implements ChartService {
    @Autowired(required = false)
    private ChartDao dao ;

    @Override
    public List<CityInfo> findCityInfoByCityCode(int cityCode) {
        return dao.findCityInfoByCityCode(cityCode);
    }
}
